package com.authine.cloudpivot.ext.dto.transfer;

import io.swagger.annotations.ApiModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName ResaleInvoiceDetailDto
 * @Description: 转售发票申明细
 **/
@Data
@Schema(description = "ResaleInvoiceDetailDto")
@ApiModel("转售发票申请明细")
public class ResaleInvoiceDetailDto{
    @Schema(description = "ID")
    private String id;
    @Schema(description = "ID集合")
    private List<String> ids;
    @Schema(description = "开票申请ID")
    private String resale_invoice_id;
    @Schema(description = "商品id")
    private String goods_id;
    @Schema(description = "票面名称 货物或应税劳务，税务名称")
    private String name;
    @Schema(description = "票面型号/规格")
    private String model_spec;
    @Schema(description = "票面单位")
    private String unit;
    @Schema(description = "金税编码")
    private String golden_tax;
    @Schema(description = "票面数量")
    private BigDecimal quantity;
    @Schema(description = "票面单价")
    private BigDecimal price;
    @Schema(description = "票面未税单价")
    private BigDecimal pretax_price;
    @Schema(description = "票面明细的价格合计【数量*单价】")
    private BigDecimal amount;
    @Schema(description = "票面税率")
    private BigDecimal tax_rate;
    @Schema(description = "票面税额")
    private BigDecimal tax;
    @Schema(description = "明细的价税合计")
    private BigDecimal total;
}
